{include file="pub_header.htm"}
<div class="out_table">
<table width="100%" cellpadding="6" cellspacing="6" border="0" align="center" class="frame_table">
  <tr>
    <td width="20%" align="left" valign="top" bgcolor="#EEEEEE" class="main_border_inside">
      {include file="pub_submenu.htm"}
    </td>
    <td width="80%" align="center" valign="top" bgcolor="#FFFFFF">

      <div class="right_table">
      <table width="100%" cellpadding="3" cellspacing="0" border="0" align="center" class="current_place">
        <tr>
          <td align="left" nowrap>&nbsp;
            <a href="{$control_admin}" target="_self" class="current_place">管理首页</a>
            &raquo; <a href="{$control_admin}?act=manage" target="_self" class="current_place">论坛版主设置</a>
          </td>
          <td align="right" nowrap>
            <img src="{$dir_images_admin}/icon_warning.gif" title="Warning" alt="Warning" align="absmiddle" /> 双击修改内容
          </td>
        </tr>
      </table>
      </div>

      <div class="space"></div>
      <div class="right_table">
      <table width="100%" cellpadding="3" cellspacing="0" border="0" align="center" class="block_group">
        <tr align="left" class="block_header">
          <td colspan="6">论坛版主列表</td>
        </tr>
        <tr class="block_title">
          <td width="30%" height="25">用户名</td>
          <td width="15%" nowrap>颜色</td>
          <td width="10%" nowrap>加粗</td>
          <td width="15%" nowrap>排序</td>
          <td width="20%" nowrap>添加时间</td>
          <td width="10%" nowrap>操作</td>
        </tr>
        {foreach name=channel_manage_list from=$channel_manage_list item=item}
        <tr align="center" class="block_list" onmouseover="this.className='block_list_over'" onmouseout="this.className='block_list'">
          <td height="25">
            <table width="100%" cellspacing="0" cellpadding="0" border="0" class="content_wrap"><tr><td align="center"><div id="username_{$item.admin_id}" name="username_{$item.admin_id}"><div style="{if $item.color != ''}color:{$item.color_value};{/if}{if $item.bold == '1'}font-weight:bold;{/if}">{$item.username}</div></div></td></tr></table>
          </td>
          <td title="双击更改内容" ondblclick="xajax_set_value_onfocus('color', '{$item.admin_id}', $('#color_{$item.admin_id}_value').val(), 'color', 7, 'width:60px;text-align:center;');">
            <table width="100%" cellspacing="0" cellpadding="0" border="0" class="content_wrap"><tr><td align="center"><div id="color_{$item.admin_id}" name="color_{$item.admin_id}"><div style="width: 60px;height:18px;border:1px solid #EEEEEE;{if $item.color != ''}background-color:{$item.color_value};{/if}">{$item.color_name|default:'&nbsp;'}</div></div></td></tr></table>
            <input type="hidden" id="color_{$item.admin_id}_value" name="color_{$item.admin_id}_value" value="{$item.color}">
          </td>
          <td title="双击更改内容" ondblclick="xajax_set_value_onfocus('bold', '{$item.admin_id}', $('#bold_{$item.admin_id}_value').val(), 'checkbox', 255, 'text-align:center;');">
            <table width="100%" cellspacing="0" cellpadding="0" border="0" class="content_wrap"><tr><td align="center"><div id="bold_{$item.admin_id}" name="bold_{$item.admin_id}">{if $item.bold == "1"}&radic;{/if}</div></td></tr></table>
            <input type="hidden" id="bold_{$item.admin_id}_value" name="bold_{$item.admin_id}_value" value="{$item.bold}">
          </td>
          <td title="双击更改内容" ondblclick="xajax_set_value_onfocus('rank', '{$item.admin_id}', $('#rank_{$item.admin_id}_value').val(), 'text', 11, 'width:60px;text-align:center;');">
            <table width="100%" cellspacing="0" cellpadding="0" border="0" class="content_wrap"><tr><td align="center"><div id="rank_{$item.admin_id}" name="rank_{$item.admin_id}">{$item.rank}</div></td></tr></table>
            <input type="hidden" id="rank_{$item.admin_id}_value" name="rank_{$item.admin_id}_value" value="{$item.rank}">
          </td>
          <td nowrap>
            {$item.time_created|date_format:'%Y-%m-%d %H:%M:%S'}
          </td>
          <td nowrap>
            <a href="{$control_admin}?act=manage&ope=del&channel_id={$get.channel_id}&admin_id={$item.admin_id}" target="_self" onClick="return confirm('真的要删除记录?')"><img src="{$dir_images_admin}/icon_delete.gif" border="0" alt="删" title="删除记录"></a>
          </td>
        </tr>
        {/foreach}
      </table>
      <div class="space"></div>
      <form action="{$control_admin}?act=manage&ope=add&channel_id={$get.channel_id}" method="post" name="manage" id="manage" enctype="multipart/form-data">
      <table width="100%" cellpadding="3" cellspacing="0" border="0" align="center" class="block_group">
        <tr class="block_footer" align="center">
          <td width="30%" height="25">用户名:<input type="text" id="username" name="username" size="6" maxlength="255" value="" class="input" style="width:120px;text-align:center;" /></td>
          <td width="15%" nowrap>颜色:{$add_color}</td>
          <td width="10%" nowrap>加粗:<input type="checkbox" id="bold" name="bold" value="1" class="checkbox" /></td>
          <td width="15%" nowrap>排序:<input type="text" id="rank" name="rank" size="6" maxlength="255" value="" class="input" style="width:60px;text-align:center;" /></td>
          <td width="20%" nowrap>权限到子类:<input type="checkbox" id="inherit" name="inherit" value="1" class="checkbox" /></td>
          <td width="10%" nowrap><input type="submit" name="submit" value="添加" class="submit"></td>
        </tr>
      </table>
      </form>
      </div>

    </td>
  </tr>
</table>
{include file="pub_footer.htm"}